package com.bj58.groupbuy.action.service.impl;

import com.bj58.groupbuy.action.model.SysNotice;
import com.bj58.groupbuy.action.service.NoticeService;
import com.bj58.groupbuy.service.impl.BaseService;
import com.bj58.groupbuy.wf.page.Paginate;

public class NoticeServiceImpl extends BaseService<SysNotice> implements NoticeService {


	@Override
	public Paginate<SysNotice> getByPage(int pageIndex, int pageSize,
			String where) throws Exception {
		return getGenericDao().findForPage(SysNotice.class, where, "*", pageIndex, pageSize, "id desc");
	}

}
